﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

using ProjectBase.Core;

namespace $safeprojectname$.Validation
{
    /// <summary>
    ///     Enumeration allowing to set the operation
    ///     on which should be the rule executed.
    ///     Due its implementation, ValidateOn could be set for multiple operations
    ///     (usually Add and Update)
    /// </summary>
    [Flags]
    public enum ValidateOn : short
    {
        Add = 1,
        Update = 2,
        Delete = 4,
        Find = 8,
        GroupNameOnly = 16,
        CanEdit = 32,
        CanDelete = 64,
    }
}